// Geometric Tools, Inc.
// http://www.geometrictools.com
// Copyright (c) 1998-2006.  All Rights Reserved
//
// The Wild Magic Library (WM3) source code is supplied under the terms of
// the license agreement
//     http://www.geometrictools.com/License/WildMagic3License.pdf
// and may not be copied or disclosed except in accordance with the terms
// of that agreement.

//----------------------------------------------------------------------------
inline int CollapseRecordArray::GetQuantity () const
{
    return m_iQuantity;
}
//----------------------------------------------------------------------------
inline CollapseRecord* CollapseRecordArray::GetData () const
{
    return m_akArray;
}
//----------------------------------------------------------------------------
inline CollapseRecordArray::operator const CollapseRecord* () const
{
    return m_akArray;
}
//----------------------------------------------------------------------------
inline CollapseRecordArray::operator CollapseRecord* ()
{
    return m_akArray;
}
//----------------------------------------------------------------------------
inline const CollapseRecord& CollapseRecordArray::operator[] (int i) const
{
    assert(0 <= i && i < m_iQuantity);
    return m_akArray[i];
}
//----------------------------------------------------------------------------
inline CollapseRecord& CollapseRecordArray::operator[] (int i)
{
    assert(0 <= i && i < m_iQuantity);
    return m_akArray[i];
}
//----------------------------------------------------------------------------
